#include<iostream>
using namespace std;
int exam4_14()
{
	int n, num = 1;
	cin >> n;
	while (n > 10)
	{
		num++;
		n /= 10;
	}
	cout << num << endl;
	return 0;
}